
#ifndef		__STORE_H__
#define		__STORE_H__
#include "TypeDefine.h"

#define 	NAME_SIZE		11
#define		EEPROM_SIZE		1024
#define 	OV_SIZE			16
#define		RECORD_SIZE		16
#define		RECORD_COUNT	50

typedef struct
{
	uint8 state;
	uint16 size;
	uint8 count;
	uint8 saved;
	uint16 index_start;
	uint8 index_size;
	uint16 data_start;	
}Overview;

typedef struct
{
	uint8 attribute;
	uint8 number;
	uint16 start_addr;
	uint8 size;
	uint8 name[NAME_SIZE];
}Index;

void RebuiltOV(void);
uint8 StoreSYS_Init(void);

#endif